Handle the case when ts_node_type returns NULL (bug#78938)
authorYuan Fu <casouri@gmail.com>
Fri, 4 Jul 2025 06:36:44 +0000 (23:36 -0700)
committerYuan Fu <casouri@gmail.com>
Fri, 4 Jul 2025 06:40:59 +0000 (23:40 -0700)
commit30dae2ad23963bc902101544cbbe2c5698beddd7
tree2799cf352e029fa6d454a32968724be981f6ffaa
parent985ad1da76d2ea1ef70765fe8b4fb62fc975ae0a
Handle the case when ts_node_type returns NULL (bug#78938)

* src/treesit.c (Ftreesit_node_type): Handle NULL.
src/treesit.c